<ul class="nav flex-column">
    <li class="nav-item" style="margin-top: 20px;">
        <a class="nav-link active" aria-current="page" href="/admin/views/home/index.html" id="index">首页</a>
    </li>
    <li class="nav-item" id="usermanageitem">
        <div class="accordion" id="accordionExample">
            <div class="accordion-item">
                <h2 class="accordion-header" id="headingOne">
                    <button class="accordion-button" type="button" data-bs-toggle="collapse"
                        data-bs-target="#user-manage" aria-expanded="true" aria-controls="collapseOne">
                        用户管理
                    </button>
                </h2>
                <div id="user-manage" class="accordion-collapse collapse show" aria-labelledby="headingOne"
                    data-bs-parent="#accordionExample">
                    <div class="accordion-body">
                        <a class="nav-link active" aria-current="page" href="/admin/views/userManage/addUser/index.html" id="adduser">添加用户</a>
                        <a class="nav-link active" aria-current="page" href="/admin/views/userManage/userList/index.html" id="userlist">用户列表</a>
                    </div>
                </div>
            </div>
        </div>
    </li>
    <li class="nav-item">
        <div class="accordion" id="accordionExample2">
            <div class="accordion-item">
                <h2 class="accordion-header" id="headingOne">
                    <button class="accordion-button" type="button" data-bs-toggle="collapse"
                        data-bs-target="#news-manage" aria-expanded="true" aria-controls="collapseOne">
                        新闻管理
                    </button>
                </h2>
                <div id="news-manage" class="accordion-collapse collapse show" aria-labelledby="headingOne"
                    data-bs-parent="#accordionExample2">
                    <div class="accordion-body">
                        <a class="nav-link active" aria-current="page" href="/admin/views/newsManage/createNews/index.html" id="addnews">创建新闻</a>
                        <a class="nav-link active" aria-current="page" href="/admin/views/newsManage/newsList/index.html" id="newslist">新闻列表</a>
                    </div>
                </div>
            </div>
        </div>
    </li>
</ul>
<style>
    .accordion-button:not(.collapsed) {
        color: black;
        background-color: white;
        box-shadow: none;
    }

    .accordion-item{
        border: none;
    }

    .nav-link {
        color: black;
    }

    .accordion-button:focus{
        box-shadow: none;
    }
</style>